﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using StructureMap;
using MethodWorx.CMS.UI.Application.Dependencies;

namespace MethodWorx.CMS.UI.Application
{
    public class BootStrapper
    {
        public static void ConfigureStructureMap()
        {
            ObjectFactory.Initialize(
                (i) =>
                    {
                        i.AddRegistry(new DomainRegistry());
                        i.AddRegistry(new ModelFactoryRegistry());
                    });


        }
    }
}